<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div
	style="padding:10px 20px;border:1px solid #e7eaec;width:100%;color:#666">

	<c:if test="${not empty model.title }">
		<h2 style="color:#666">标题：${model.title }</h2>
	</c:if>

	<div>
		<label style="color:#666">来自于：</label><label
			style="font-weight: bold;">${model.sender_name }</label>
		<isperp:processEntry businessKey="${model.source_id }"></isperp:processEntry>
	</div>
	<div>
		<label style="color:#666">时间：</label><label style="font-weight: bold;">${model.create_date
			}</label>
	</div>
	<div>
		<label style="color:#666">类型：</label><label style="font-weight: bold;">${model.message_type
			}</label>
	</div>
</div>
<div style="padding:20px;font-size:14px">${model.content }</div>

<isperp:buttonList>
	<button class="nui-mainbtn"
		onclick="isperp.openDialog({contentUrl:'app/message/receiver/replyEdit?messageId=${model.id }'})">
		回复</button>
</isperp:buttonList>